There are alternative preludes you could use instead that provide a much better experience. I recommend taking a look at relude [0].
Could you share a bit about your experience with sockets in haskell? I had the chance to use sockets in haskell on multiple occasions and they worked as expected.