Added callback support to MultipartEncoder.