Well, I now am comming at you with a filtering/caching proxy
server written up in 100% pure perl (no extra CPAN additions)
with a little help of netpipes for handling the server side
of things. Nothing like having
faucet 8080 -io wsproxy-2.pl running.
The code's in the catacombs, under
wsproxy: Perl Web Proxy.