external loopback script for tcp/ip tests