added dir index support

Adds support for serving `index.html` and listing directory contents.