Add CORS support

Issue: SPR-9278