Second attempt at https redirect