- Emit required
Connectionoptions for HTTP/1 response upgrade advertisements without changing connection state. - Parse all HTTP/1
Connectionheader options consistently. - Only treat
Expect: 100-continueas a continue expectation in HTTP/1.1 requests. - Reject WebSocket handshakes with a
Sec-WebSocket-Keyvalue that is not valid Base64 or does not decode to 16 bytes. - Reject WebSocket Close frames with payloads larger than 125 bytes.
- Return a 426 Upgrade Required response when an unsupported WebSocket version is requested.