C implementation of statsd