Improved nc output decoding

NetCat has different output strings on different versions