SSL Proxy

Start of a fix for #96.

TODO: Proxy HTTPS API requests.