Added some preliminary socks4 support