Prefer https when applicable