A design method for bolted beam to column connections with flush end plates and haunched beams