PacketManager: LinkedHashMap -> TreeMap.
It might be slower when adding new things but also make sure the
ordering is always correct when we add protocol jars (which will add new
PacketHandlers on-the-fly) later.