[#12] serve index.html when request path is a directory
[#14] allow dynamic part to be empty