Deprecated 'trustedOrigins', preferring 'trustedDomains'.

Fixes #257.