different way of forcing an https connection in the app