events: fix ConfigureRequest parsing

- Add test that would fail without this change.