Improvements to ResourceHandler

* use Path api for FileResourceManager
* add support for index files
Make directory listing work on non-chrome browsers
Simpler impl of checking for index
Initial work on web socket client