Added Socks5

Hi. I added socks5 support. I implemented all functional of socks5 which used likely all of clients. Socks5 with and without authentication. This patch don't touch much existent code.

Hope this functional is needed not only for me, and good enough to be merged ;)