server_sent_events: end gen_server process if send fails
minor changes to server-sent events
Change yaws_sse to send close connection header by default, and change the
example to return an Allow header if anything other than GET is requested.
remove unnecessary inet:setopts from server-sent events example
use localtime not universaltime for server_sent_events example
Looks like httpd_util:rfc1123_date/1 wants local time, not UTC time, as its
time argument. The server_sent_events example uses that function to create
the server date string events.
add support for W3C Server-Sent Events
Server-Sent Events is a W3C working draft allowing servers to send simple
events to a client. See the documentation in www/server_sent_events.yaws
for a full description.