Re. client side prediction and server reconciliation, may I recommend https://gabrielgambetta.com/client-server-game-architecture....? Even if you don't roll your own solution, it might be worth understanding the theory so you can use these libraries correctly.