use socat instead of nc