Now returning valid json in event stream. Added OPTIONS end point for /register/events. Added CORS allow header for event source