(Moved to separate thread from http://forum.mysensors.org/topic/1870/esp8266-wifi-gateway-port-for-mysensors/243 )