A test harness for socket connections