/// <summary> /// Starts the handshake process /// </summary> /// <returns>Returns the handshake data as a byte stream to be sent to the remote host</returns> internal List <Record> StartHandshake() { IProtocolMessage message = m_ProtocolLayer.CreateClientHello(); return(m_MessageAdapter.ToRecords(message)); }