Split PacketRegistry into PacketRegistry and Protocol