Work on support for file uploads, more content-types and server improvements.

Not ready for merge, this PR is to track development.

Requires `trayhost` on [`clipboard-files`](https://github.com/shurcooL/trayhost/tree/feature/clipboard-files) branch.