improving simpe http helper to include the ability to set the http
content type header as part of a post request