[server] new prepare and checkserver functions
[server] new prepare and checkserver functions

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