Implement SOCKS 5 client

We need to have a socks 5 client to be able to perform TCP requests over Tor.

I would recommend basing the basic SOCKS5 client that is used in tor2web: https://github.com/globaleaks/Tor2web-3.0/blob/master/socksclient.py