Add support for connecting via HTTP proxies.