AID-833 Renamed gem to amedia-cors

Use Gaia instead of Checkpoint to determine trusted domains.

The Socket error actually originates from this endpoint in Checkpoint.