client: add connection states