Check SSL on redirect