update_device.py: support passing extra headers.
am: 6fbfd7d945

Change-Id: Ifc484a7f7db0b9d29d6ed74d899c9b984aea954f