onreconnect method
void
onreconnect()
Called upon successful reconnect.
@api private
Implementation
void onreconnect() {
var attempt = backoff!.attempts;
reconnecting = false;
backoff!.reset();
updateSocketIds();
emitAll('reconnect', attempt);
}