[PATCH 11/18] tests: Use socat instead of netcat