Use HTTPS server forHTTPS case.