fix binary data comm, not just ascii data

fix modbus data or other binary data witch  contain "\x0d\x0a"  or "\x00"