Some refactoring and added body parser that buffers to temp file (as the standard play multipart file handler).