Implement a statistics HTTP server

We should not bake the requirement to parse time into the REST interface