/** * Constructor * * @param string $uri Socket URI. * @param boolean $secured Whether the connection is secured. */ public function __construct($uri, $secured = false) { parent::__construct($uri); $this->_secured = $secured; return; }