Minimal implementation of StatsD in haskell