mattn/go-xmpp — pull request #30 by ir4y (2014-04-22 16:14:57+00:00)
Title: Ejabberd compatibility

Library doesn't work with default ejabberd configuration, because it need opened session.
I add session option and iq request to server for setting up session.
Also i add id generator for iq requests. I think harcoded id="x" isn't good.

I didn't change NewClient and NewClientNoTLS function for backward capability