micro_proxy is a very small Unix-based HTTP/HTTPS proxy. It runs from inetd, which means its performance is poor. But for low-traffic sites, it's quite adequate. It implements all the basic features of an HTTP/HTTPS proxy, including IPv6 forwarding, in less than 500 lines of code.
ACME Labs / Software / micro_proxy