[server] check the client state and removes old clients
[server] check the client state and removes old clients

ouistiti-project/libhttpserver,mchalain/libhttpserver,mchalain/libhttpserver,ouistiti-project/libhttpserver