implement rudimentary raw file POST support
fork the mime code so type -> extension mapping can be implemented, use that for creating files
DRY up error handling on POST
implement support for gzip content-encoded raw uploads