std.net: check for localhost names before asking DNS
the old implementation asks DNS before checking if it shouldn't.
additionally, it did not catch absolute 'localhost.' names.
0a03d68594praschke committed on 1/10/2023, 11:10:15 PM· committed by Andrew Kelleyparentc8a7dc2