add EventSource interface
Merge pull request #45 from hussachai/EventSource

add EventSource interface