[BASE-48]URLUtils should set User-Agent http header if it's a HttpURLConnection
(cherry picked from commit 6526b1ed6ac9d76256d0a57a86e2170d49b1393a)