Implementation of the statsd in C++