code: def _update_ssl_params(host):
          
          if host[HostParsing.HOST] \
                  and EsParser._is_secure_connection_type(host):
              host[HostParsing.PORT] = EsParser.SSL_DEFAULT_PORT
              host[HostParsing.USE_SSL] = True
              parsed_url = urlparse(EsParser._fix_host_prefix(host[HostParsing.HOST]))
              host[HostParsing.HOST] = parsed_url.hostname
              host[HostParsing.SCHEME] = HostParsing.HTTPS
          return host
docs: Update the host ssl params (port or scheme) if needed.
          :param host:
          :return: