Better check for https redirect