Add first stages of handshake