add user agent header in http requests.