Extended Socks4/5 support(based on the last Netty)

Netty is currently supported only Socks5, this pull adds Socks4 support.

P.S. Sorry for previous curve pull. =)