Sign out a user when his websocket drops out

Fix Bug [#862930](https://bugzilla.mozilla.org/show_bug.cgi?id=862930)

I request @n1k0 to review this.