Set User-Agent header for get and publish.