[Engine-XMPP] cannot create a resource before resource array
Merge pull request #71 from oli-obk/bugfix/muc_join