public function addHeader(string $name, string $value) {
        $key = strtolower($name);
        $this->headerNames[$key] = $name;
        $this->headers[$key][] = $value;

        return $this;
    }