Get XMPP Host from Bundle Identifier
- commits squashed in rebase from PRs #1 & #2

BugzID: 410