Added User-Agent header to the HTTP request. #1137