a polyfill for http://www.w3.org/TR/eventsource/