Add basic support for SOCKS proxies