Mhh I think I finally got it working. I was using WifiMulti.h and it seems there was the problem. Something with TLS handshake. I swaped to Wifi.h and now seems to work.