Fixes bug 853920 - statsd on internal middleware