Basic RPC stuff in Packet and PacketDecoder for RPC service support.