Add getGateway() for Windows.

This probably doesn't actually work or even compile, but my windows box
is updating itself at the moment.  I'll fix it later once said windows
box is actually usable but may end up being plesantly suprised.