fixes bug 853920 - statsd of internal middleware