Tweak the API for URLStreamHandlerFactory

This follows up on candrews committed change.
Merge pull request #213 from square/jwilson/URLStreamHandlerFactory

Tweak the API for URLStreamHandlerFactory