public function configure(array $config)
{
if (isset($config['http'])) {
if (isset($config['http']['response_header'])) {
$config['http']['response_header'] = array_merge($this->httpConfig['response_header'], $config['http']['response_header']);
}
$this->httpConfig = array_merge($this->httpConfig, $config['http']);
}
if (isset($config['tcp'])) {
$this->tcpConfig = array_merge($this->tcpConfig, $config['tcp']);
}
return $this;
}