Device/emulator IP address discovery using GetEndPoint works on emulators, but throws exception when used for device.