Added Socket.IO functionality