Use https by default when displaying links
Use https only if the site was loaded over https
Merge pull request #930 from reciprocity/feature/url-use-https

Use https by default when displaying links