Bolted connections with flush endplates and haunched beams