updated the AbstractService

- added functionality to attach optional headers to the request using an array of HttpRequestHeader-objects.

- added functionality to send POST and GET requests