Dynamic Connectivity, Hopsets, And Byzantine Agreement