XIE 2.3 wire probe against 192.168.99.2:0
=========================================

Client: minimal raw X11 connection (no XIElib), one XIE request per
connection, little-endian.  Script: /tmp/opencode/xie_raw.py (probe()).

Extension lookup
----------------
XQueryExtension("Xie") = present, major opcode 129 (0x81), first event 64.
XQueryExtension("XIE") = absent (names are case-sensitive).

QueryImageExtension (minor 1)
-----------------------------
words=2 (client sends 5.0) -> REPLY, reply length 8 (8 CARD32 levels)
    bytes 8.. : 02 00 03 00 20 00 00 00 e0 56 41 00 ...
    -> server major 2, minor 3, service class 0x20, alignment 0
words=3,4 -> BadLength

Request length map (BadLength = error 16, BadRequest = 1, BadIDChoice = 14)
---------------------------------------------------------------------------
minor 1  (QueryImageExtension): WORKS at 2 words
minor 2  (5.0 QueryTechniques): 1 word -> TIMEOUT; 2..12 words -> BadLength,
         and every BadLength reports minor_op=0 (not 2)
minor 6  (5.0 QueryColorList):   1 word -> REPLY len=0 (no arguments!);
                                 2..8 words -> BadLength
minor 11 (5.0 QueryPhotomap):    3 words -> BadIDChoice (dispatched);
                                 1,2,4..6 -> BadLength
minor 23 (5.0 GetClientData):    BadRequest at every length (not implemented)
minor 24 (5.0 QueryPhotoflo):    4 words -> BadIDChoice (dispatched);
                                 1..3,5..6 -> BadLength

Interpretation
--------------
The server dispatches 2.3 requests with sizes that differ from XIE 5.0:
  - QueryColorList takes no color-list id (5.0 takes 8 bytes).
  - QueryPhotomap takes 3 words (5.0: 2).
  - QueryPhotoflo takes 4 words (5.0: 3).
  - QueryTechniques is absent or different: no length works.
  - GetClientData does not exist.

The BadLength path reports minor_op=0, whereas handler-level errors
(BadIDChoice) report the real minor opcode.  So minor 0 in the error is a
server-side dispatcher artefact, not a malformed client request.

xieperf consequence
-------------------
xieperf 5.0 calls QueryTechniques (minor 2) during capability setup, which is
why it dies immediately after "Class name: ColorAlloc"; the wire request is
`81 02 02 00 0c 00 00 00` (X_ieQueryTechniques, techniqueGroup=12).
