Bug 1046236 — Log call state modification with the websocket.

https://bugzilla.mozilla.org/show_bug.cgi?id=1046236
Based on #185.