Bug 1046236 — Log call state modification with the websocket.

Based on #185.