Merge server-side "dir.make" implementation from karmatics/slfsrv