Added EventSource feature detection.  Fixes #5.