[Fixes #1283] Add functional tests for WebAPI-style controllers returnin...

...g HttpContent

@rynowak @yishaigalatzer 
is this significant? why does it has to be octet-stream?