Haskell networking project