private function performHttpRequest($httpRequest, $ensureSuccess = true)
	{
		$httpResponse = null;
	
		// See if the requests succeeds at all
		try
		{
			$httpResponse = $this->_httpClient->dispatch($httpRequest);
		}
		catch (\Exception $e)
		{
			if ($ensureSuccess)
				throw new ClientException($e->getMessage(), $e->getCode());
		}

		// Check the request status
		if ($ensureSuccess && $httpResponse !== null && !$httpResponse->isSuccess())
		{
			throw new ClientException(
			$httpResponse->getReasonPhrase(), $httpResponse->getStatusCode());
		}

		return $httpResponse;
	}