Rewrote the HTTP strategy.

This strategy now _always_ outputs JSON while making sure the correct
Content-Type header is set. This ensures it can be used properly with the
daemons without having to use some kind of crazy Rack compatible output format.

Also, tests!