patch to avoid crash when messages without type are sent
Merge branch 'bot_fixed' of https://github.com/h0ru5/libstrophe