Engine: implemented new engine/session/on-event-message hook