Throwing MalformedURLException properly from openConnection in order to allow the calling classloader to discover bad resources.