Fixed issues with ClientStream.
- Take sync reads into account by marking anything consumed from the
  memory stream as read.