Test Connect to internet using HttpClient.