Implement a statistics HTTP server

Same as above.