lib/url.js: Add support for RFC 3490 separators

Closes #6055.