SimpleProtocol example bug fix

A non-existing variable `b` was used to queue data for reading.