setting socket.io