netcat6: remove popen, use assert_equal, add assertion for exitstatus