Updated to support SocketIO 0.5.x