Added xmppDomain

Implemented #153 as @powdahound suggested.