Add option to specify a directory index in server mode (fixes #68)