more portable client example (socat => nc)