- Replaced WebRequest with the new HttpClient.