fix return/exit codes in some cases. Add -S which will delete any old entry first. Add "auto" in proxy case, so it finds the right interface automatically.
Obtained from: NetBSD bin/487