use Socket for reverse name lookup, not nslookup then sed then etc. etc.