catching the upgrade header on firefox