HTTP/HTTPS proxy from scratch
A secured gate between the browser and the web, on raw TCP sockets. One socket talks to the browser, another to the origin; plain HTTP requests are processed and forwarded with the response relayed back, HTTPS goes through CONNECT tunnelling. Threaded to serve many clients at once, with optional logging that dumps every request and payload of a connection to JSON when it closes.










