Deprecated 'trustedOrigins', preferring 'trustedDomains'.

Fixes #257.
Fixes #305.
Fixes #241.