Implements handshake with one peer

Messages are up next