[Haskell] Non-exhaustive pattern in Socket.hsc