Issue #123: make it possible to append HTTP headers to the request