SOCKS/HTTP proxy support for remote connections