workaround type-punned warning
change test code to use a pair of zsocks