Fix one forgotten __MUSL__ macro instance
Fix failure to do --chown when socket does not exist yet
tests: import --chown and --chmod tests
Fix too early daemonizing (before opening the socket)
tests: Minor change
tests: Avoid relying on PATH (for musl version of dived)