Haskell NSQ protocol parser