Only use https if site is served via https