Use request lib.

Amongst other things, this gives us https proxy support.
Merge pull request #8 from atlassian/use-request-lib

Use request lib for HTTPS.