Added _cid and debugging in the server for message tracking