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

Netty is currently supported only Socks5, this pull adds Socks4 support.