update to use esp8266 sdk v1.4.0 - esp_iot_sdk_v1.4.0_15_09_18.zip and provide a method of obtaining the sdk used for the build of core libraries.