Socket closed checking. Fixed bug regarding no initialization of
listeners array.
Now has CLI interactive chat (credentials still hardcoded)
Interactive CLI Chat