Added chat functionality on client-side, very rudimentary way to send chat messages.