a SOCKS proxy is used, because in that case, this code resolves the real host rather than the proxy host patch by Sylvain Pasche <sylvain.pasche@gmail.com> r=biesi sr=darin git-svn-id: svn://10.0.0.236/trunk@201674 18797224-902f-48f8-a5cc-f745e15eee43