Add setExtraHeader and set the user-agent