make username detection less restrictive

for example my resource was not xmpp.

thanks for the little plugin!
Merge pull request #3 from pscheit/patch-1

make username detection less restrictive