add support for multipart POST
implement test for multipart POST