Added Server Side Events support (thin)
Changed ajax polling to server-side events