Extended Socks4/5 support

Extended Socks4/5 support