srv.el: call nslookup if UDP sockets not supported

dns.el requires support for UDP sockets, which is not present on
Windows.  Check whether UDP sockets are supported, and if not, parse
the output of nslookup.