Add support for https.

@spacemunkay 
When we proxy shodan we set the endpoint of this library to our proxy.
The LGProxy is an https endpoint, so this library needs to support
making https and http get request.