Add the runes to find a local IP for OS X

Note this completely removes Linux support, but hey, it fixes OS X.
Or at least it might fix OS X-- I'm not sure because I've not tested it.

Probably best not merge this as-is.

Signed-off-by: David Scott <dave.scott@citrix.com>