Add CORS headers to Snap applications