Sample of streaing requests with fetch API.

This is a sample page that text chat can be sent to a server as stream with fetch API.