first cut at Server Sent Events implementation