Make dogstatsd support magic tags

Tags host and device are converted into metric attributes