[minor] Support an `options.redirect` which accepts a port number for HTTP>HTTPS redirection