Fixes #2 : take $headers into account when calling httpService::request()