fix NPE on HTTP OK and ContentLength == 0