Arduino core for ESP32 Wiki content

Workaround for WifiClientSecure::connect does not give any certificate-fail clarification

Issue #1393

copercini posted a workaround for the missing certificate-fail error

  if (WiFi_Client_secure.connected()) {
      Serial.println("Connected!");
  } else {
      Serial.println("Connection failed!");
      char err_buf[100];
      if (WiFi_Client_secure.lastError(err_buf, 100) < 0) {
          Serial.println(err_buf);
      } else {
          Serial.println("Connection error");
      }
  }