Updates for LIFX firmware 1.2

It seems the gateway TCP connection is no longer available in LIFX firmware 1.2.  Changed to use UDP connection to the gateway.