First part of encryption handshake