ESP8266 with Arduino IDE

Hi @eric2, did you tried the current version from master? It solves some problem related with SSL, as we told here:

Notice that the code provided by @Apaezmx is not for ESP8266.