#113 improve modbus gateway api