http://www.smartofthehome.com/2015/03/modbus-tcpip-part-1/