Convert StreamFormations to HTTP

With assitance from archSeer, managed to convert StreamFormations from rpc to HTTP.
The http body should be closed before returning.