ADD: Check for already existing header

I've added a check for an already existing Access-Control-Allow-Origin, so we don't append data to it (and invalid it at the same time) in such an event.