SPEED-1 Fix: force https by default if exists