Use java.net.URI#resolve to avoid decoding in java.net.URI#toString
Follow the spec more closely regardless of default httpclient parameters