Implement a statistics HTTP server

One should never use variable named `end`. Rationale: it breaks argument dependent lookup when calling `std::end`. Similarly, avoid `begin`, `cbegin`, `cend` as variable names.