public function addToResponse(\Psr\Http\Message\ResponseInterface $p_response)
    {
        foreach ($this->cookies as $idx => $cookie) {
            $p_response = $p_response->withAddedHeader('Set-Cookie', (string)$cookie);
        }
        return $p_response;
    }