Basic implementation of PacketFactory for client.