public function normalizeHeaders($params)
    {
        $out = '';

        foreach ($params as $key => $param) {
            $out .= $key.'="'.rawurlencode(trim($param)).'",';
        }

        return rtrim($out, ',');
    }