Automaticly detect serial or network connection

I added the default IP address to the param

the node first tries connecting via the serial port, if it fails it tries the network. If both fail it spews out the error messages from the connection attempts.

Tested with an UTM-30LX-EW (Ethernet)