Changed NaiveUserAgent to rely on java.net.URI rather than java.net.URL
to resolve URIs
(https://code.google.com/p/flying-saucer/issues/detail?id=237)