everything is now threaded
now uses socks to connect with server