Generalize default_url_options to Rails app, not just action mailer. [#77197516]