Theoretical and experimental investigation of a two-agent consensus dynamics with communication delays