protected function modifyContainer($name, $method, $headers = array(), $qstring = '') {
    $url = $this->url . '/' . rawurlencode($name) . $qstring;
    $headers['X-Auth-Token'] = $this->token;

    $client = \HPCloud\Transport::instance();
    $response = $client->doRequest($url, $method, $headers);

    return $response;
  }