Steal from 	OnionBrowser with following improvements:

* Support HTTP / HTTPS / SOCKS proxy
* Support streamed post body