Stopped hardcoding http/https

Closes #51