only upgrade to http2 via Upgrade: header when http1_upgrade_to_http2 flag is set