Fix unknown stream length response (getContentLength can return -1 but
it does not mean it's empty, just the real length is NOT KNOWN).