pub const PEX_MAX_FRAME: usize = 262_144;
Maximum message body bytes (256 KiB) — matches the DHT / dig-nat wire bound. A frame claiming a larger body MUST be rejected before allocating or reading the body (SPEC §4.1, §7.2).