Split IPC output module into Server and Client
Get rid of buggy lock implementation

Let the users who actually need locks do it.