switch to using nc over socat