code: func (client *Client) Proxy(name string) (*Proxy, error) {
  	// TODO url encode
  	resp, err := http.Get(client.endpoint + "/proxies/" + name)
  	if err != nil {
  		return nil, err
  	}
  
  	err = checkError(resp, http.StatusOK, "Proxy")
  	if err != nil {
  		return nil, err
  	}
  
  	proxy := new(Proxy)
  	err = json.NewDecoder(resp.Body).Decode(proxy)
  	if err != nil {
  		return nil, err
  	}
  	proxy.client = client
  	proxy.created = true
  
  	return proxy, nil
  }
docs: // Proxy returns a proxy by name.