#1256 Sorting out http(s) problems