[Glitch] Add transparent support for EventSource streaming.
[Glitch] Add transparent support for EventSource streaming.

Port 619da5a4dc00e51d28b29bfe5230125a78c1fac9 to glitch-soc

Signed-off-by: Thibaut Girka <428c7871dd6adbdc20a11fdac0dfe6a015f06403@sitedethib.com>

glitch-soc/mastodon,im-in-space/mastodon,Kirishima21/mastodon,Kirishima21/mastodon,glitch-soc/mastodon,Kirishima21/mastodon,glitch-soc/mastodon,im-in-space/mastodon,Kirishima21/mastodon,im-in-space/mastodon,im-in-space/mastodon,glitch-soc/mastodon