Upgraded libmodbus to version 3.1.1