Added ability to define a different SSL port for the redirects