Add support for legacy packet IDs (without protocol version).