http: use more appropriate user-agent by default
Added retries for webapi requests