events: Don't crash on events named __proto__

This prefixes all event names internally with 'EV_'.