Fix typos in error handling of httpGet. Also add timeout of 5s
Add https handling to httpGet
Change timeout in httpGet to 15s and fix error reporting
Use http.request instead of get, and reject if protocol is unrecognized
Merge pull request #29 from jparyani/fix-httpget

Fix typos in httpGet error handling, add timeout, and add https