Use hacky substitute if available netcat is not the BSD version.