Added a modified socks protocol from obfsproxy. Stripped out references to pluggable transports..
Switched logging name from logging to logger to keep it consistent with the modsocks.py file.
Proxy shims now detect what type of protocol each PT needs, SOCKS4 or SOCKS5.