make handleHixieUpgrade also emit the 'headers' event