FELIX-2017 prevent NullPointerException if URLConnection.getInputStream() returns null instead of throwing for a non-existing resource.