Fixes the function signature of `parseMultipartResponse` and uses the default random boundary when creating a new multipart response.
Needs https://github.com/matrix-org/gomatrixserverlib/pull/437
"Shamelessly" stolen from https://github.com/matrix-org/synapse/pull/15988