public function add($name, $values, bool $append = false): void
    {
        $normalizedName = self::normalizeHeaderName($name);

        if (!$append || !$this->containsKey($normalizedName)) {
            parent::add($normalizedName, (array)$values);
        } else {
            $currentValues = [];
            $this->tryGet($normalizedName, $currentValues);
            parent::add($normalizedName, array_merge($currentValues, (array)$values));
        }
    }