(HttpConnection::readHead): Fix a bug to prevent lagging when Content-Length is zero