events: fix ConfigureRequest parsing

- Add test that would fail without this change.
Merge pull request #73 from sidorares/fix_configure_request

events: fix ConfigureRequest parsing