inets: Improve readability of handling of server `Connection: close`
inets: Improve readability of handling of server `Connection: close`

Addresses https://github.com/erlang/otp/pull/1752#discussion_r177970060

getong/otp,electricimp/otp,erlang/otp,dumbbell/otp,g-andrade/otp,dumbbell/otp,tuncer/otp,dgud/otp,potatosalad/otp,aboroska/otp,bsmr-erlang/otp,electricimp/otp,isvilen/otp,bjorng/otp,erlang/otp,g-andrade/otp,dgud/otp,emacsmirror/erlang,ferd/otp,uabboli/otp,erlang/otp,vladdu/otp,uabboli/otp,mikpe/otp,lrascao/otp,cobusc/otp,fenollp/otp,vinoski/otp,dumbbell/otp,erlang/otp,isvilen/otp,getong/otp,bjorng/otp,ferd/otp,aboroska/otp,bjorng/otp,fenollp/otp,electricimp/otp,ferd/otp,isvilen/otp,aboroska/otp,ferd/otp,dgud/otp,kvakvs/otp,vinoski/otp,mikpe/otp,legoscia/otp,RaimoNiskanen/otp,saleyn/otp,dumbbell/otp,uabboli/otp,mikpe/otp,tuncer/otp,tuncer/otp,dgud/otp,g-andrade/otp,saleyn/otp,cobusc/otp,potatosalad/otp,RaimoNiskanen/otp,rlipscombe/otp,potatosalad/otp,ferd/otp,ferd/otp,legoscia/otp,legoscia/otp,rlipscombe/otp,dgud/otp,fenollp/otp,emacsmirror/erlang,mikpe/otp,dumbbell/otp,ferd/otp,kvakvs/otp,bsmr-erlang/otp,mikpe/otp,cobusc/otp,vinoski/otp,rlipscombe/otp,mikpe/otp,kvakvs/otp,rlipscombe/otp,ferd/otp,kvakvs/otp,isvilen/otp,dumbbell/otp,g-andrade/otp,uabboli/otp,kvakvs/otp,rlipscombe/otp,mikpe/otp,isvilen/otp,lrascao/otp,RaimoNiskanen/otp,saleyn/otp,tuncer/otp,potatosalad/otp,vinoski/otp,RoadRunnr/otp,legoscia/otp,erlang/otp,bjorng/otp,erlang/otp,g-andrade/otp,mikpe/otp,electricimp/otp,vladdu/otp,g-andrade/otp,legoscia/otp,emacsmirror/erlang,vinoski/otp,getong/otp,dumbbell/otp,vinoski/otp,rlipscombe/otp,jj1bdx/otp,bsmr-erlang/otp,bsmr-erlang/otp,vladdu/otp,lrascao/otp,fenollp/otp,cobusc/otp,vinoski/otp,g-andrade/otp,g-andrade/otp,legoscia/otp,isvilen/otp,kvakvs/otp,tuncer/otp,isvilen/otp,aboroska/otp,tuncer/otp,potatosalad/otp,aboroska/otp,uabboli/otp,fenollp/otp,getong/otp,g-andrade/otp,cobusc/otp,saleyn/otp,legoscia/otp,bsmr-erlang/otp,getong/otp,saleyn/otp,rlipscombe/otp,potatosalad/otp,bsmr-erlang/otp,erlang/otp,emacsmirror/erlang,rlipscombe/otp,g-andrade/otp,RoadRunnr/otp,saleyn/otp,getong/otp,dgud/otp,electricimp/otp,RoadRunnr/otp,uabboli/otp,mikpe/otp,RaimoNiskanen/otp,kvakvs/otp,lrascao/otp,RoadRunnr/otp,vinoski/otp,saleyn/otp,mikpe/otp,RoadRunnr/otp,potatosalad/otp,vinoski/otp,kvakvs/otp,RaimoNiskanen/otp,electricimp/otp,potatosalad/otp,getong/otp,emacsmirror/erlang,RoadRunnr/otp,bjorng/otp,lrascao/otp,jj1bdx/otp,jj1bdx/otp,aboroska/otp,legoscia/otp,cobusc/otp,saleyn/otp,emacsmirror/erlang,RaimoNiskanen/otp,dgud/otp,vladdu/otp,dumbbell/otp,vladdu/otp,fenollp/otp,dumbbell/otp,tuncer/otp,vladdu/otp,erlang/otp,bsmr-erlang/otp,potatosalad/otp,RoadRunnr/otp,getong/otp,jj1bdx/otp,vladdu/otp,bjorng/otp,getong/otp,emacsmirror/erlang,cobusc/otp,dumbbell/otp,emacsmirror/erlang,legoscia/otp,dgud/otp,electricimp/otp,rlipscombe/otp,uabboli/otp,emacsmirror/erlang,bjorng/otp,bjorng/otp,lrascao/otp,ferd/otp,getong/otp,uabboli/otp,tuncer/otp,jj1bdx/otp,isvilen/otp,isvilen/otp,jj1bdx/otp,electricimp/otp,jj1bdx/otp,fenollp/otp,potatosalad/otp,aboroska/otp,emacsmirror/erlang,tuncer/otp,vladdu/otp,jj1bdx/otp,RaimoNiskanen/otp,isvilen/otp,dgud/otp,fenollp/otp,RoadRunnr/otp,aboroska/otp,electricimp/otp,bsmr-erlang/otp,cobusc/otp,kvakvs/otp,vladdu/otp,fenollp/otp,lrascao/otp,jj1bdx/otp,lrascao/otp,bjorng/otp,uabboli/otp,vinoski/otp,erlang/otp,aboroska/otp,saleyn/otp,jj1bdx/otp,RoadRunnr/otp,rlipscombe/otp,lrascao/otp,RaimoNiskanen/otp,bjorng/otp,bsmr-erlang/otp,dgud/otp,erlang/otp,RaimoNiskanen/otp