Update JarURLConnection to return correct values from `getURL()`, `getJarFileURL()` and `getEntryName()`. Fixes gh-973