Add xmpp support for ruby 1.9.

/cc @sbryant