Fixed disconnect bug and started preparing chat to handle more channels and clients