message: Fix bug: use buffered source and not source.
diff: @@ -126,8 +126,8 @@ shared_ptr<MslTokenizer> MslEncoderFactory::createTokenizer(shared_ptr<InputStre
  shared_ptr<InputStream> bufferedSource = source->markSupported() ? source : make_shared<BufferedInputStream>(source);
  const int WIDTH = 1;
  ByteArray buffer(WIDTH);
  - source->mark(1);
  - const int count = source->read(buffer, 0, WIDTH, TIMEOUT); // TODO: Someone has to tell me this timeout.
  + bufferedSource->mark(1);
  + const int count = bufferedSource->read(buffer, 0, WIDTH, TIMEOUT); // TODO: Someone has to tell me this timeout.
  if (count == -1)
  throw new MslEncoderException("End of stream reached when attempting to read the byte stream identifier.");
  if (count == 0)
  @@ -143,8 +143,8 @@ shared_ptr<MslTokenizer> MslEncoderFactory::createTokenizer(shared_ptr<InputStre
  }
  // Reset the input stream and return the tokenizer.
  - source->reset();
  - return generateTokenizer(source, format);
  + bufferedSource->reset();
  + return generateTokenizer(bufferedSource, format);
  }
  }}} // namespace netflix::msl::io
  