Add statsd metrics support.
Merge branch 'metrics-statsd' into develop