If a URL fails to resolve, return the input string instead of the
Change a.ping and area.ping to reflect as a normal string.
The empty string still resolves per the current spec, see:
A single \u0000 character gets stripped by the URL parser;
"Remove any leading and trailing C0 controls and space from input."
Fixes #2125. Closes #2663.
The empty string case still expects resolved URL per the current spec, see: