I'm looking for a multi-platform (Linux / Mac OS X / Windows 7), open source proxy, with following features:
- HTTPS support
- could forward to another remote proxy
- web sockets proxying
- able to add custom HTTP headers on the fly
- FTP proxying (optional)
Privoxy could be fine but it misses web sockets and FTP proxying.