Allow HTTPS configure URL.

close #551
Use HTTPS by default.