Properly handle server replies that are grouped together

TCP can group them together in one emitted data, so properly loop over the buffer until there are no more replies.

This was causing callbacks to take a varying amount of time to get called. For low traffic beanstalk clients, it could take hours for the callback to finally get called.