added event handler which sends back acknowledgements, useful for request/reply pattern