added ProtocolMember to handle websockets protocol
implemented protocol handler