[server] Added support for multiple events triggered from handler