Example to connect to wifi automatically or start smartconfig if it is not connected

Dependencies:   mbed ESP8266