if (server.available()>0)
or even
Serial.print(server.available())
will actually accept the connection and disconnect the client immediately if there was one waiting. Is this intended, and, if so, is there any other way to know if there is a client waiting?
Thnx
Ivan