updated to correctly initialize the server
example program for modbus-tk wiki.