Configurable WiFiClientSecure connect timeout, better default value (#4027)
Configurable WiFiClientSecure connect timeout, better default value (#4027)

* WiFiClientSecure: use _timeout setting when connecting

This timeout value can be customized via a call to setTimeout function.

Closes https://github.com/esp8266/Arduino/issues/3944.

* WiFiClientSecure: increase default connection timeout to 15 sec

hallard/Arduino,sticilface/Arduino,hallard/Arduino,esp8266/Arduino,sticilface/Arduino,wemos/Arduino,lrmoreno007/Arduino,Lan-Hekary/Arduino,lrmoreno007/Arduino,lrmoreno007/Arduino,Adam5Wu/Arduino,Adam5Wu/Arduino,hallard/Arduino,sticilface/Arduino,wemos/Arduino,hallard/Arduino,esp8266/Arduino,wemos/Arduino,lrmoreno007/Arduino,lrmoreno007/Arduino,Lan-Hekary/Arduino,Adam5Wu/Arduino,hallard/Arduino,esp8266/Arduino,Adam5Wu/Arduino,wemos/Arduino,Lan-Hekary/Arduino,wemos/Arduino,Lan-Hekary/Arduino,esp8266/Arduino,Adam5Wu/Arduino,Lan-Hekary/Arduino,sticilface/Arduino,esp8266/Arduino,sticilface/Arduino