then it should be SSL connection. Or maybe you can try to capture Wi-Fi packets to make sure of it. And some SSL server may need certificates to connect to it, but google.com is not one of them.
You can try to call esp_wifi_set_protocal(0, 7) in the Wi-Fi start event. But if you are work on a new project, maybe the best way is to use RTOS SDK..