public function initClient($headers)
    {
        try {
            $this->request = new Client($headers);
        } catch (Exception $e) {
            echo 'Unable to initialise http client because '.$e->getMessage()."\n";
        }
    }