fix segfault with xmpp query in layout
Merge pull request #13 from ailin-nemui/segfault-no-protocol

fix segfault with xmpp query in layout