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