Remove UnknownHostException from httpPing util

In wifi off case, httpPing catches the exception correctly,
but passes None object back to ACTS. With removal of this check,
it raises RpcError.

Test: Yes, locally
Bug: 141781914
Change-Id: I5580be9941711de704393e0d0aa6b2c16cbbcf09
diff --git a/Common/src/com/googlecode/android_scripting/facade/wifi/HttpFacade.java b/Common/src/com/googlecode/android_scripting/facade/wifi/HttpFacade.java
index 0d3d887..c1326b6 100644
--- a/Common/src/com/googlecode/android_scripting/facade/wifi/HttpFacade.java
+++ b/Common/src/com/googlecode/android_scripting/facade/wifi/HttpFacade.java
@@ -188,14 +188,10 @@
     public HttpURLConnection httpPing(
             @RpcParameter(name = "url") String url,
             @RpcParameter(name = "timeout") @RpcOptional Integer timeout) throws IOException {
-        try {
-            HttpURLConnection urlConnection = null;
-            urlConnection = httpRequest(url, timeout);
-            urlConnection.disconnect();
-            return urlConnection;
-        } catch (UnknownHostException e) {
-            return null;
-        }
+        HttpURLConnection urlConnection = null;
+        urlConnection = httpRequest(url, timeout);
+        urlConnection.disconnect();
+        return urlConnection;
     }
 
     @Rpc(description = "Make an http request and return the response content as a string.")