sends the handshake on open