examples: support both hq-24 and hq-23 in the non-h3 example servers
diff --git a/examples/server.c b/examples/server.c
index 19183b3..d068f25 100644
--- a/examples/server.c
+++ b/examples/server.c
@@ -443,7 +443,7 @@
     quiche_config_load_priv_key_from_pem_file(config, "examples/cert.key");
 
     quiche_config_set_application_protos(config,
-        (uint8_t *) "\x05hq-24\x08http/0.9", 15);
+        (uint8_t *) "\x05hq-24\x05hq-23\x08http/0.9", 21);
 
     quiche_config_set_idle_timeout(config, 5000);
     quiche_config_set_max_packet_size(config, MAX_DATAGRAM_SIZE);
diff --git a/examples/server.rs b/examples/server.rs
index 3228ce2..b8f1041 100644
--- a/examples/server.rs
+++ b/examples/server.rs
@@ -128,7 +128,7 @@
         .unwrap();
 
     config
-        .set_application_protos(b"\x05hq-24\x08http/0.9")
+        .set_application_protos(b"\x05hq-24\x05hq-23\x08http/0.9")
         .unwrap();
 
     config.set_idle_timeout(5000);