Merge pull request #1 from tspascoal/master

Improved resilience regarding room joining.
increased version for npm
fixed bug in patch
merge with upstream