events: adding the 'Access-Control-Allow-Origin' header for public events to avoid SOP issues.