Fix crash in TlsStream::IsEof

refs #6862