I really would like to recommend go-any-proxy as well:
https://github.com/ryanchapman/go-any-proxy
It is pretty good you can masquerade it (configure it as a transparent proxy for any outbound TCP traffic and it uses HTTP CONNECT to proxies that support it to proxy the connection.) If you're looking to unwrap SSL traffic you can use sslsplit, too.