connect to peer and send bad handshake
debug messages
correctly send handshake to client
move main into actor
formatting