Added a util method for detecting the name of the local Wi-Fi network.

Works with iOS and OSX.