Make headers customizable

Hi,

I saw there is a `headers` variable which is defined and initialized with `Content-Type` and `Content-Length`, but is unused. I presume this was a mistake, so I fixed it.

I also needed to add a custom header, so I added an ability to specify headers in service configuration alongside the url and method.