Multi-threaded socket server for game and simulation