we (web engine): Experimental web browser project to understand the limits of Claude

Implement TCP socket wrapper (std::net) master

TcpConnection type wrapping std::net::TcpStream with connect, connect_timeout, read, write, read_exact, write_all, flush, timeout configuration, and shutdown. NetError enum with automatic mapping from io::Error (ConnectionRefused, TimedOut variants). BufferedReader and BufferedWriter wrappers for efficient line-oriented I/O with split read/write support via stream cloning. 15 tests covering error types, connection failures, loopback echo, buffered line reading, buffered read/write pairs, timeouts, and debug formatting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>


+484
2 changed files