Backend spawning and client socket.io