fix in thread signalling
sigsev fix when 2 servers are active simultaneously
add CMakeLists.txt
fix in client message with no events to sent