Python flask EventSource example