HTTP: Add SSE support

Rebased work from @ctranxuan in #2393 and follow up.