make wschat example work again
Merge pull request #2 from mehlis/master

make wschat example work again