Oh....!! That's really too much!!
But if you can post a relevant code before Christmas I wouldn't mind...!!
***
Let me explain the software. I have (sort of) a working copy...
The software itself is really aiming at something else. The chat is only optional. It's support.
But it's a vital part of the software since different kind of people will chat with each other. In the support will be the web developers, in the chat, willing to speak with the support, will be the clients. The possible and future clients of the web developers.
The web developers will need to subscribe to be able to open (to start) a "server", a host. The "clients" can then connect to any server that fill their needs.
It's a business-to-business (B2B) software so there are clients and companies in both ends, but in different perspective.... For this reason, it's little difficult to explain in a a short sentence.
I'll write more, if I need!!
***
Are you familiar with Hotline? I'll write and upload an image...

This software is called Hotline Connect. It was made back in 1997 and for Mac only, in the beginning.
It's a three component software. The Server, the Client and the Tracker, to keep track of all Servers. (By this time, many people had dial-up connections on dynamic IP's and the purpose were to share warez.)
I might include file transfer later, just for the convenience, but the file sharing is not a goal in itself, as with Hotline Server/Client as it was called at the time. However, I like this kind of service and I'd like to develop the software with this idea!
My software will be like the distributed cloud computing...!! All clients and servers shall be able to work using dynamic IP's... That's a goal for me!