Add core.tcpsocket integration test for failure on connection to invalid domains