My university provides internet access through an HTTP proxy which blocks POP, SMTP, and IMAP. To circumvent this, the IT department's "Internet setup guide" suggests to use
socat TCP-L:6660,fork,reuseaddr PROXY:proxy-address:pop.googlemail.com:995
This works well, but I need to have one such command per server that I want to connect to. It doesn't sound ideal.
Is there a way to build a local proxy that inspects the traffic and opens TCP connections using CONNECT every time it sees a connection that the proxy wouldn't let through ?
Just to give you an idea, Tor is allowed and works well on the university network; I'd like to find a proxy that offers the same experience, without Tor though.
Is this possible at all? I'm no network Guru, so please bear with me if the idea is flawed in any way.