C Webserver to send notifications in real time efficiently