try to stream the URL if we can't get content-length, code willing