public function setOption($option, $value)
{
switch ($option) {
case self::OP_PROXY_HTTP:
$this->options[self::OP_PROXY_HTTP] = (string) $value;
break;
case self::OP_PROXY_HTTPS:
$this->options[self::OP_PROXY_HTTPS] = (string) $value;
break;
default:
return $this->sockPool->setOption($option, $value);
}
return $this;
}