Tests lock the TRUST_PROXY_HEADERS behavior: a trusted CF-Connecting-IP becomes the rate-limit key (per-IP and per-user+IP), an origin-exposed header on an untrusted proxy is ignored, and the unauthenticated per-user limiter honors header mode. Mirrors the middleware contract (finding 4a / Loop B).