All the messages from the IRC server connection should be forwarded to the client via the websocket conection.
This message payload should be able to identify the source of the message, for example the Channel or User the message comes from and then update the UI.
The UI should add the message contents to the text area with the user's Nick where applicable. If the message is a private message the message should open a private message context for the user with the information required.