Can't set CORS headers for eventsource responses

Setting headers in the eventsource block is ineffective because the headers have already been sent using the SSE_HEADER constant. I have to had redefine this constant to get it to work. Maybe the eventsource method could accept a hash of headers that you could merge with SSE_HEADER.