Properly detect dhcp ip and dns status
make dhcp logically possible
only set gateway and ip if statically set
Handle setting static ip same as current dhcp ip
Merge pull request #8628 from UtahDave/develop

Fix several edge cases where dhcp and static ip and dns settings weren't handled correctly on Windows.