Implement a statistics HTTP server

Wait - our average is an int?  That seems dodgy...?