creating a network connection only requires an ip address/mask

the following are optional:
default gw
dns
dnsregister
netbios
dnsdomainsuffixsearchorder
dnsdomain

So we need to ensure we do not apply try to run wmi methods against
empty or nil values for optional values