public function setCookies($cookies, $merge = false)
    {
        if ($merge) {
            $this->cookies = array_merge($this->cookies, $cookies);
        } else {
            $this->cookies = $cookies;
        }

        return $this;
    }