createHttpHandler
matches() for framework routing. Mount at the root before body parsing; caller signals and disconnects propagate to execution. Supplied option arrays are copied.
HttpOptions
Allowed authorities normalize case and default ports. Wildcards, schemes, and paths are invalid. Both URL authority and any supplied Host header must be allowed.
allowedOrigins is validation, not CORS response generation. Applications own TLS, proxy trust, and listener lifecycle.