setMultipartFile improvements

Add optional content-type header.
Automatically detect content-type.