Avoid classcast exceptions in SimpleHttpClient

This patch makes it so `SimpleHttpClient` does not assume the argument URL to `openConnection()` is an `HttpURLConnection`. Though it's gonna be most of the time, some tests (e.g. in wfs-ng) need it to support loading local resources