Pull changes to handle inviting via Http rather than XMPP

This is necessary for inviting to continue working with the 1.1-beta1 release.