[client] support of commit 1a82499d for "wait" without vthread
[client] support of commit 1a82499d for "wait" without vthread

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