The traditional netcat had a -e option to "Execute the specified
command, using data from the network for stdin, and sending stdout
and stderr to the network..."
Whilst I can understand that this option might not be desirable to be
included in the binary (for security reason ?), I occasionally find
it very useful, and so emulate it with a shell script: