Add event-based ability to modify pre-flight proxy requests.