public function setKeepAliveTimeout($timeout) { $this->keepAliveTimeout = $timeout; if ($this->keepAlive) { $this->header['Keep-Ailve'] = $timeout; } }