Add an implementation of URLStreamHandlerFactory

Add an implementation of URLStreamHandlerFactory.

See issue #189