Add configuration options to override base URLs
Instead of jumping through hoops by using reverse proxy rewrite rules for external access, this provides the option to just override the base URLs sent in replies.