Changed https check