Add support for setting headers

Usefull for example when setting the `User-Agent`.