added support to set a message format

this is basically the same support for formatting the payload as in
the stdout output

i use it for a quick hack to post to a collector of cube
square.github.com/cube
Merge pull request #319 from conceptboard/http-output-message-support

added support to set a message format on http output