RawNetworkMessage keep the payload_len and its checksum in the struct, thus is not needed to serialize the inner network message pub in fields of both RawNetworkMessage and CheckedData are removed so that invariant are preserved.