Fixed a bug in ip and broadcast addresses because the char array of 15 is too short. It needs to be 16 to accommodate the NULL. Also added a watch dog timer capability, so that the MCU can reset itself.