         "</html>\r\n";
 
 void loop() {
+  static int cnt;
   BearSSL::WiFiClientSecure incoming = server.available();
   if (!incoming) {
     return;
   }
-  Serial.println("Incoming connection...\n");
+  Serial.printf("Incoming connection...%d\n",cnt++);
   
   // Ugly way to wait for \r\n (i.e. end of HTTP request which we don't actually parse here)
   uint32_t timeout=millis() + 1000;

-----END CERTIFICATE-----
)EOF";

void setup() {
  Serial.begin(115200);
  Serial.println();

  // Attach the server private cert/key combo
  BearSSL::X509List *serverCertList = new BearSSL::X509List(server_cert);
  BearSSL::PrivateKey *serverPrivKey = new BearSSL::PrivateKey(server_private_key);
#ifndef USE_EC
  server.setRSACert(serverCertList, serverPrivKey);
#else
  server.setECCert(serverCertList, BR_KEYTYPE_KEYX|BR_KEYTYPE_SIGN, serverPrivKey);
#endif

  // Actually start accepting connections
  server.begin();
