Fixed frontend support for socket.io 1.0