Further split up presence code, add per-room events.
Re-login to MUC rooms if logged out.
Add missing ~section for log statements.
Factor out backoff code and re-use for re-connect.