added logging functionality and example
added default functionality to automatically append the server index to dir requests instead of responding with 403 fix #2