Fixes made to repair a socket failure causing fake disconnects and Chat server.