Use request lib for HTTPS.

Amongst other things, this gives us https proxy support.