added new RawProtocol and RawPacket