Only convert domain name to ASCII

IDNA is about domain name only, so ignore username, password and port.

Fixes #10010.
2 jobs for valid_url in 7 minutes and 24 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #21331
code-quality

00:05:13

3.0%
 
  Build
passed #21332
linux

00:02:11