Implement a statistics HTTP server

Ah, yeah, didn't catch due to an unclean build directory. Fixed.