auto relocate to https (fix)