Bugfix: was using wrong length field in MODBUS packets