Added support for HTTPS

Much better patch - no more configuration, only use of protocol relative URLs

Change-Id: I6e4eff311a734e1923dd17ebb691f9a439b4a172
Merge "Added support for HTTPS"