Configuring the server to use Socket.io