WIP multi-thread socket server