secure
If set to true, requests will be made over HTTPS.
Defaults to true.
HTTP/2 impact: HTTP/2 is only negotiated over TLS via ALPN. Setting secure = false produces http:// URLs, and OkHttp does not support HTTP/2 over cleartext (h2c). Keep secure = true (the default) for HTTP/2.