public function proxyObject($name) {
    $url = self::objectUrl($this->url, $name);
    $cdn = self::objectUrl($this->cdnUrl, $name);
    $cdnSsl = self::objectUrl($this->cdnSslUrl, $name);
    $headers = array(
      'X-Auth-Token' => $this->token,
    );


    $client = \HPCloud\Transport::instance();

    if (empty($this->cdnUrl)) {
      $response = $client->doRequest($url, 'HEAD', $headers);
    }
    else {
      $response = $client->doRequest($cdnSsl, 'HEAD', $headers);
    }

    if ($response->status() != 200) {
      throw new \HPCloud\Exception('An unknown error occurred while saving: ' . $response->status());
    }

    $headers = $response->headers();

    $obj = RemoteObject::newFromHeaders($name, $headers, $this->token, $url);

    if (!empty($this->cdnUrl)) {
      $obj->useCDN($cdn, $cdnSsl);
    }

    return $obj;
  }