fix socket leak on reload process for sockets used in inter process communication and connections
fix some functions definitions to be possible compile with clang
ensure all queue members are initialized to not produce errors on calling remove function, without insert them on a queue
fix stuck connections when sending only header responses
small tests improvement
fix send messages through websocket connection when the server is using kqueue