public function getHeader($name) {
        if (!is_string($name)) throw new IllegalTypeException('Illegal type of parameter $name: '.gettype($name));

        $headers = $this->getHeaders($name);
        return \array_shift($headers);
    }