public function setHeaders(array $fields, $merge = false)
    {
        if ($merge) {
            $this->headers = array_merge($this->headers, $fields);
        } else {
            $this->headers = $fields;
        }

        return $this;
    }