code: public function initClient($headers)
      {
          try {
              $this->request = new Client($headers);
          } catch (Exception $e) {
              echo 'Unable to initialise http client because '.$e->getMessage()."\n";
          }
      }
docs: Initialise Guzzle client using headers appropriate to adapter.
  
  @param array $headers
  @return void