switch to log from fmt.  More logging for ping failures.  Move setuid to platform specific file.  initial detection for dest unreachable.