feat(ext/node): port Node.js _http_server.js - real net.Server + llhttp
Replace the Deno.serve()-based HTTP server with a port of Node.js's
_http_server.js. The server now uses:
- net.Server for TCP listening (matching Node.js exactly)
- llhttp parser on each connection via connectionListenerInternal()
- Real net.Socket for each connection (no more FakeSocket)
- ServerResponse extending OutgoingMessage (writes to socket)
- Parser pool (parsers.alloc/freeParser) for connection lifecycle
- Proper request pipelining via state.outgoing queue
- Keep-alive timeout management
- Upgrade/CONNECT handling
This eliminates:
- Deno.serve() / serveHttpOnListener dependency
- FakeSocket class
- IncomingMessageForServer class (uses IncomingMessage from _http_incoming.js)
- All hyper-based server processing
Full HTTP round trip (GET, POST with chunked body) works through
native llhttp on both client and server sides.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>