Change invalid ulr "foo.bar" -> "foo.invalid"

* Hopefully address NXDOMAIN redirect issue causing #3956
* Still need to address TcpSocket serialization
Merge pull request #4063 from JuliaLang/kms/test_socket

Change invalid url "foo.bar" -> "foo.invalid"