JBSEAM-4679 fixed incorrect parsing of a multipart request