v4 protocol support (remove heartbeat, send focus state instead)