
Update `RestTemplateBuilder` so that it is easier to apply custom headers to the outgoing request. The update is particularly useful for setting the `User-Agent` header, for example so that a GitHub username can be used when calling `api.github.com`. See gh-17091