TEST_P(DownstreamProtocolIntegrationTest, ExtendedConnectIsBlocked) {
  if (downstreamProtocol() == Http::CodecType::HTTP1) {
    return;
  }
  initialize();
  codec_client_ = makeHttpConnection(lookupPort("http"));
  auto encoder_decoder =
      codec_client_->startRequest(Http::TestRequestHeaderMapImpl{{":method", "CONNECT"},
                                                                 {":protocol", "bytestream"},
                                                                 {":path", "/"},
                                                                 {":authority", "host.com:80"}});
  request_encoder_ = &encoder_decoder.first;
  auto response = std::move(encoder_decoder.second);

  ASSERT_TRUE(response->waitForReset());
  ASSERT_TRUE(codec_client_->waitForDisconnect());
}
TEST_P(DownstreamProtocolIntegrationTest, ExtendedConnectIsBlocked) {
  if (downstreamProtocol() == Http::CodecType::HTTP1) {
    return;
  }
  initialize();
  codec_client_ = makeHttpConnection(lookupPort("http"));
  auto encoder_decoder =
      codec_client_->startRequest(Http::TestRequestHeaderMapImpl{{":method", "CONNECT"},
                                                                 {":protocol", "bytestream"},
                                                                 {":path", "/"},
                                                                 {":authority", "host.com:80"}});
  request_encoder_ = &encoder_decoder.first;
  auto response = std::move(encoder_decoder.second);

  ASSERT_TRUE(response->waitForReset());
  ASSERT_TRUE(codec_client_->waitForDisconnect());
}