I built clibench, a dual-protocol device emulator in Go, to measure SSH vs HTTPS CLI performance at realistic latencies. Here’s the architecture, the code, and the numbers.