Fix modbus.h signatures (wrong function names, etc)