The code doesn't currently support https as it's hard-coded to http. Would be great to also support https.