Preferably I would have a server laying in between my clients and bridges. When sending a message, I would select one of the available identities. Let's say for example that I would want to contact somebody on discord, on my client I would select him as the recipient and choose one of the available identities. XMPP seems nice in this architecture