Sinatra application demonstrating  SSE detection with long polling fallback