issue #5281: fix socket.io disconnect bug and add presentation in jsb test