Getting Started with Wifi on the Giga R1

Hi --
I just got a Giga R1 yesterday. I thought I'd see if I could get an existing sketch working but I'm running into issues, I'm hoping someone can point me in the right direction.

Originally the sketch was for an Uno R2 Wifi, to use the wifi library I put in:
`#include <WiFiNINA.h>

Then I ported it to an Uno R4 Wifi, for that I had:

`#include <WiFiS3.h>

I read that the Giga should just use wifi.h, but when I put in:
`#include <WiFi.h>

I get a whole slew of errors, starting with:
`error: 'WiFiSSLClient' does not name a type;

I also read that wifi101 should work with any architecture, but when I put in:
`#include <WiFi101.h>

I get another slew of errors, from conflicting definitions between
Arduino\libraries\WiFi101\src/socket/include/socket.h

and
arduino\hardware\mbed_giga\4.0.10\cores\arduino/mbed/platform/include/platform/mbed_retarget.h

For example, in the first there is:
NMI_API sint8 close(SOCKET sock); and in the second there is: int close(int fildes);

So I am looking for some help getting pointed in the right direction. Which WIFI library should I be using if I want to make SSL connections? Is it going to be a drop-in substitution for a Wifi Uno, or am I going to have to rework my code?

Thanks.

The magic incantation seems to be:


 #include <WiFi.h>
 #include <WiFiSSLClient.h>

But boy, compiling a short sketch takes like five minutes. It's like 1985 all over again.