Added (experimental) support for SOCKS proxies.