url: improve parsing speed

The url.parse() function now checks whether an escapable character is in the URL before trying to escape it.