code: function disconnect(socket) {
    if (socket.namespace.name === '') return socket.disconnect();
    socket.packet({type:'disconnect'});
    socket.manager.onLeave(socket, socket.namespace.name);
    socket.$emit('disconnect', 'booted');
  }
docs: hack until socket.disconnect is fixed