Documented return codes of mg_read()
Quick fix for downloading of endless streams