Fix case where received message was potentially dropped in C++ bot
Fix case where received message was potentially dropped in C++ bot

The read_until() may leave trailing data to read buffer, and this
was not handled properly by the sample bot.

Big thanks to Mika Urtela for spotting this.

Signed-off-by: Harri Salokorpi <eefb23b8deb8c30dca252cd0ae751b67337dc69f@reaktor.fi>
Signed-off-by: Sami Rosendahl <b33c757bb777642ab0d59c699f8d5782929a814f@reaktor.fi>

sooda/hwo2014,beheh/hwo2014,psaikko/hwo-2014,sooda/hwo2014,sooda/hwo2014,psaikko/hwo-2014,sooda/hwo2014,beheh/hwo2014,sooda/hwo2014