Chat server based on Server-Sent Events protocol