working multi-process client, multi-threaded server