rc-dev: refactor Multipart parser