a minimalistic implementation for statsd in php