updates to use a custom user-agent header in http requests