Thanks,
No didnt get that error...
When I try your code the result on the serial window is below
connection check = OK
HttpCode = 400
payload = <html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
<hr><center>cloudflare</center>
</body>
</html>
connection closed