Switch from deprecated Network class to newer WiFi class

The current Spark cloud has removed the `Network` class, and replaced it with the `WiFi` class. This prevented the Voodoospark code from being compiled on the Spark cloud, due to resulting errors.

This small change allows the code to compile, and appears to work nicely with our other existing code that calls Voodoo.