code: func setTranslateAddr(resp http.ResponseWriter, active bool) {
  	if active {
  		resp.Header().Set("X-Consul-Translate-Addresses", "true")
  	}
  }
docs: // setTranslateAddr is used to set the address translation header. This is only
  // present if the feature is active.