fun useHttps(sslSocketFactory: SSLSocketFactory, tunnelProxy: Boolean): Unit
Serve requests with HTTPS rather than otherwise.
tunnelProxy - true to expect the HTTP CONNECT method before negotiating TLS.
tunnelProxy