Support specifying custom URLStreamHandler