Also use IdnHost instead of Host, in case the Host isn't DNS-safe. Commit migrated from https://github.com/dotnet/corefx/commit/45ae10c713f9799f2f47a2c390b30529bd222bac