Add support for multipart responses. Work in progress.

`relaxed:local:doc` should behave like `relaxed:doc`. So we need to add the `mixed` format here as well.