1.align protocol headers with package.json metadata 2.support upload_full_url with fallback to upload_param