check for netcat before running port check