Handle HTTPS redirects.

Attempts to download the DevKit direclty from GitHub will get redirected via an HTTPS URL and will fail unless the net/https library is invoked and the HTTPS request is handled correclty.

This change makes is possible to handle HTTPS redirected requests.
Merge pull request #18 from dkinzer/handle-https-redirects

Handle HTTPS redirects.