Added disconnect and auto-reconnect behaviour in case app goes to sleep. Updated engine.io core files.