Parent: #66
Port Bun corpus position 4222 (js/web/websocket/websocket.test.js).
Scope:
- local and public echo connection behavior over ws/wss/http/https
- local TLS trust/rejectUnauthorized semantics and 1015 close reporting
- Bun server address records
- FIFO text/binary delivery before close
- invalid HTTP upgrade handling and 1002 close reporting
- caller-preserved raw header casing
- WebSocket subprocess lifecycle, timeout, SIGTERM, and invalid URL behavior
- bounded TLS option allocation/error paths
- RFC close-code/reason/wasClean matrix, including abnormal transport close
- deterministic permanent pin for the exact 44-assertion upstream file
- structured URL, TLS, handshake, and subprocess diagnostics with operation/phase/context/cause/source stacks
Acceptance: 44 passed, 0 todo, 0 failed, 0 unsupported, 0 allowed-empty.
Implementation: c7cae4c