fix for room.params undefined
Couple of bugs fixed.
Merge pull request #183 from scrollback/fixesforls

Couple of bugs fixed.
Merge branch 'r4.8.1'
Fixing the logout bug.
Merge branch 'master' into json-url
Handling disconnect and backoff.