As a partial solution for help request for servant
In Haskell it's surpisingly easy to do unix-socket networking, if you ever have done it before. Setting things up for communication is very same as in C :P
Ultimately you'll need openUnixConnection :: String -> IO Connection
, which has quite trivial implementation, when you know where the building blocks are.