add: support for https requests.
Merge pull request #2 from snoj/httpsreq

Added support for https urls