Implement a statistics HTTP server

Quibble: No blank lines between namespaces.  No reason, it's just what everyone seems to do here.