Update HTTPURLConnection.java

added support for exclusion of configured hostnames (eg. localhost or local network domain) from proxying