Stop and Wait protocol, with examples