update tests, add multipart/form-data processing support