session: rename Message to Event
local: rename Message to Event
server: refactoring