While reading Restricting a Qube to selected websites I learned about qvm-connect-tcp
(The Qubes Firewall | Qubes OS) which is probably what we should be using instead of our own netcat/socat approach.
I probably won’t be able to test this myself until in a few weeks.