socat based npe_io instead of imod or subprocess(), more stable?
most changes done in comm_modbus.py