added commands: ping, event_mask