[server] break out the main loop on Interruption
[server] break out the main loop on Interruption

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