/**
  * Provide access to underlying socket stream resource
  */
 public function getResource()
 {
     return $this->client->getResource();
 }