public function applyCookies($cookies)
    {
        $headers = $this->headers();

        foreach ($cookies as $cookie) {
            $headers['Set-Cookie'][] = $cookie->toString();
        }
        return $this;
    }