Adapt to the new local client events changes. Fixes #3214.

The build fails because of tests failing, but the tests suite now actually runs.