public function initClient()
    {
        $client = new Client(array(
            'base_url' => $this->getBaseUrl(),
            'stream' => false,
            'http_errors' => false,
        ));

        $client->setDefaultOption('exceptions', false);

        $this->setClient($client);
    }