code: func New(u *url.URL, settings []vim.BaseOptionValue) (string, http.Handler) {
  	for i := range settings {
  		setting := settings[i].GetOptionValue()
  		if setting.Key == "config.vpxd.sso.sts.uri" {
  			endpoint, _ := url.Parse(setting.Value.(string))
  			endpoint.Host = u.Host
  			setting.Value = endpoint.String()
  			settings[i] = setting
  			return endpoint.Path, new(handler)
  		}
  	}
  	return "", nil
  }
docs: // New creates an STS simulator and configures the simulator endpoint in the given settings.
  // The path returned is that of the settings "config.vpxd.sso.sts.uri" property.