Client-side prediction and connecting state