I would like to implement and HTTP proxy server to get a deeper understanding of some of the finer points of the protocol and learn some socket programming along the way but I don't want to implement a full-blown HTTP server. What are the relevant RFC pages and sections in those pages that I should be focusing on if I just want to implement a proxy?
The plan is to start with a regular HTTP proxy and then potentially extend it to an HTTPS proxy.
I would take a look at HTTP 1.0 (RFC 1945) and HTTP 1.1 (RFC 2616). You can also take a look at:
There are probably lots of example code that you can find with Google!