Haskell implementation of the Gearman protocol