tests: In publish and test-echo-consumer, connect using a UnixTransport.