Implemented multipart POST in the RestRequest class