Multi-threaded Server and Multi-process Client using Sockets, Pipe, Mutex