added a sample event handler which sends acknowledgements (replies), used for request/reply pattern