Turn overrides on/off via events

Saves a backup of the xhr and websocket overrides, defaults to these when the devtools panel is not open