I would remove `setHeader` and use `addHeader(name, value)` or just `addHeader(value)`. A function with `add` in the name implies an accumulation, and also the ability to call it more than once. Since `curl` actually requires that you pass multiple `--header`s if you want to set more than one, having `addHeader(value)` makes more sense (to me, at least)