Friendlier error message for EOFError raised inside Net::HTTP
Friendlier error message for EOFError raised inside Net::HTTP

Closes Homebrew/homebrew#34312.
Closes Homebrew/homebrew#34358.

reelsense/brew,JCount/brew,EricFromCanada/brew,gregory-nisbet/brew,Linuxbrew/brew,JCount/brew,mistydemeo/homebrew,bfontaine/brew,EricFromCanada/brew,reitermarkus/brew,ilovezfs/brew,DomT4/brew,mistydemeo/homebrew,mistydemeo/homebrew,toonetown/homebrew,nandub/brew,toonetown/homebrew,pseudocody/brew,DomT4/brew,mgrimes/brew,ilovezfs/brew,nandub/brew,Homebrew/brew,toonetown/homebrew,muellermartin/dist,DomT4/brew,JCount/brew,MikeMcQuaid/brew,reitermarkus/brew,amar-laksh/brew_sudo,vitorgalvao/brew,konqui/brew,rwhogg/brew,alyssais/brew,MikeMcQuaid/brew,AnastasiaSulyagina/brew,muellermartin/dist,gregory-nisbet/brew,AnastasiaSulyagina/brew,reelsense/brew,aw1621107/brew,muellermartin/dist,aw1621107/brew,MikeMcQuaid/brew,nandub/brew,sjackman/homebrew,staticfloat/brew,maxim-belkin/brew,sjackman/homebrew,maxim-belkin/brew,MikeMcQuaid/brew,Linuxbrew/brew,hanxue/linuxbrew,pseudocody/brew,mahori/brew,hanxue/linuxbrew,gordonmcshane/homebrew,JCount/brew,mahori/brew,ilovezfs/brew,amar-laksh/brew_sudo,DomT4/brew,vitorgalvao/brew,jmsundar/brew,mahori/brew,AnastasiaSulyagina/brew,Linuxbrew/brew,maxim-belkin/brew,palxex/brew,reitermarkus/brew,rwhogg/brew,tonyg/homebrew,hanxue/linuxbrew,Linuxbrew/brew,claui/brew,alyssais/brew,konqui/brew,EricFromCanada/brew,jmsundar/brew,gordonmcshane/homebrew,sjackman/homebrew,zmwangx/brew,aw1621107/brew,staticfloat/brew,bfontaine/brew,claui/brew,EricFromCanada/brew,palxex/brew,Homebrew/brew,zmwangx/brew,gregory-nisbet/brew,konqui/brew,gordonmcshane/homebrew,Homebrew/brew,staticfloat/brew,claui/brew,bfontaine/brew,claui/brew,rwhogg/brew,mahori/brew,alyssais/brew,mgrimes/brew,reelsense/brew,amar-laksh/brew_sudo,sjackman/homebrew,zmwangx/brew,reitermarkus/brew,konqui/brew,nandub/brew,jmsundar/brew,vitorgalvao/brew,pseudocody/brew,Homebrew/brew,tonyg/homebrew,tonyg/homebrew,palxex/brew,vitorgalvao/brew,mgrimes/brew