Fixed crash on HTTP requests that return 0 bytes