Added better logging to aid modbus packet debugging