MultipartConfigElement autoconfig support.

Fixes gh-708