code: public static URI updateToHttpsIfNeeded(URI uri, IClientConfig config,
  			ServerIntrospector serverIntrospector, Server server) {
  		return updateToSecureConnectionIfNeeded(uri, config, serverIntrospector, server);
  	}
docs: Replace the scheme to https if needed. If the uri doesn't start with https and
  {@link #isSecure(IClientConfig, ServerIntrospector, Server)} is true, update the
  scheme. This assumes the uri is already encoded to avoid double encoding.
  @param uri to modify if required
  @param config Ribbon {@link IClientConfig} configuration
  @param serverIntrospector used to verify if the server provides secure connections
  @param server to verify
  @return {@link URI} updated to https if necessary
  @deprecated use {@link #updateToSecureConnectionIfNeeded}