Adding socks proxy support.