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

* Hopefully address NXDOMAIN redirect issue causing #3956
* Still need to address TcpSocket serialization