improved statsd support