fix Bug #15497 HttpInflateStream::finish segfaults when passing NULL