Try to preserve consecutive slashes in a relative path.

This is a workaround for a bug of URI#+ that led to failure in
resolving a relative path containing double slash like
"/../http://.../".  GH #304