Implement a statistics HTTP server

The indentation in this file is inconsistent with the other files you've added?