def METHOD_NAME(tctx: Context) -> tuple[h2.connection.H2Connection, Playbook]:
    tctx.client.alpn = b"h2"
    tctx.options.http2_ping_keepalive = 0
    playbook = Playbook(http.HttpLayer(tctx, HTTPMode.regular))
    conn = h2.connection.H2Connection()
    conn.initiate_connection()
    server_preamble = Placeholder(bytes)
    assert playbook << SendData(tctx.client, server_preamble)
    assert event_types(conn.receive_data(server_preamble())) == [
        h2.events.RemoteSettingsChanged
    ]
    settings_ack = Placeholder(bytes)
    assert (
        playbook
        >> DataReceived(tctx.client, conn.data_to_send())
        << SendData(tctx.client, settings_ack)
    )
    assert event_types(conn.receive_data(settings_ack())) == [
        h2.events.SettingsAcknowledged
    ]
    return conn, playbook