Get XMPP Host from Bundle Identifier

Submitting pull request for new XMPP Host from Bundle Identifier
BugzID: 410
Missing indent here as well, but otherwise this PR looks great!