Added socket.io  support.