Adapting wait_for_avail_port to parse bsd and linux output from netcat results
Adapting wait_for_avail_port to parse bsd and linux output from netcat results

iXsystems/ix-tests,iXsystems/ixbuild,iXsystems/ix-tests