better debug messages. also moved SOCKS handshake from socket() to connect()
removing junk again