Use `uuid` for message ID generation instead of crypto method (#882)
Because `crypto.randomUUID()` is not available on non-secure contexts
(for example `http` versions of chat-ui), this would break on non-https
deployments of chat-ui.
This should fix #870 and fix #868