Rudimentary SOCKS4/SOCKS5 support