Sync with NetBSD rcp, add v6 parsing support and no setuid code at all.