Multi-domain support in client & offline mode, not finished yet