improved and fixed chat network provider;
added chat states enum and updated message states enum