fixed regex we use to get our IP address so that it works on non-english locales
fixed broken unit tests
Merge pull request #768 from shatterednirvana/ifconfig-on-non-english-locales

Ifconfig on non english locales