[esock] Corrected some counter actions
[esock] Corrected some counter actions

When to count read failure and read package count
used number of bytes read instead of just increment (by 1).

OTP-1581

vinoski/otp,g-andrade/otp,dumbbell/otp,getong/otp,g-andrade/otp,mikpe/otp,dgud/otp,dgud/otp,electricimp/otp,RoadRunnr/otp,g-andrade/otp,lrascao/otp,ferd/otp,uabboli/otp,jj1bdx/otp,kvakvs/otp,erlang/otp,ferd/otp,kvakvs/otp,emacsmirror/erlang,rlipscombe/otp,g-andrade/otp,RoadRunnr/otp,g-andrade/otp,erlang/otp,erlang/otp,erlang/otp,g-andrade/otp,lrascao/otp,bjorng/otp,kvakvs/otp,jj1bdx/otp,jj1bdx/otp,mikpe/otp,potatosalad/otp,uabboli/otp,isvilen/otp,ferd/otp,getong/otp,getong/otp,ferd/otp,rlipscombe/otp,getong/otp,RoadRunnr/otp,jj1bdx/otp,RoadRunnr/otp,vladdu/otp,vinoski/otp,uabboli/otp,erlang/otp,emacsmirror/erlang,erlang/otp,getong/otp,aboroska/otp,emacsmirror/erlang,bjorng/otp,getong/otp,isvilen/otp,getong/otp,potatosalad/otp,potatosalad/otp,isvilen/otp,dgud/otp,jj1bdx/otp,vinoski/otp,emacsmirror/erlang,emacsmirror/erlang,rlipscombe/otp,jj1bdx/otp,dumbbell/otp,uabboli/otp,RoadRunnr/otp,vinoski/otp,g-andrade/otp,uabboli/otp,isvilen/otp,potatosalad/otp,lrascao/otp,isvilen/otp,rlipscombe/otp,aboroska/otp,ferd/otp,mikpe/otp,dumbbell/otp,erlang/otp,electricimp/otp,electricimp/otp,getong/otp,emacsmirror/erlang,kvakvs/otp,dgud/otp,ferd/otp,potatosalad/otp,mikpe/otp,emacsmirror/erlang,lrascao/otp,dumbbell/otp,dgud/otp,electricimp/otp,isvilen/otp,vladdu/otp,jj1bdx/otp,erlang/otp,electricimp/otp,g-andrade/otp,electricimp/otp,electricimp/otp,bjorng/otp,aboroska/otp,vinoski/otp,bjorng/otp,dgud/otp,aboroska/otp,jj1bdx/otp,vinoski/otp,bjorng/otp,RoadRunnr/otp,lrascao/otp,dumbbell/otp,dumbbell/otp,kvakvs/otp,isvilen/otp,kvakvs/otp,mikpe/otp,uabboli/otp,vinoski/otp,ferd/otp,isvilen/otp,rlipscombe/otp,vladdu/otp,isvilen/otp,emacsmirror/erlang,jj1bdx/otp,rlipscombe/otp,dumbbell/otp,dumbbell/otp,dumbbell/otp,potatosalad/otp,aboroska/otp,lrascao/otp,kvakvs/otp,electricimp/otp,kvakvs/otp,electricimp/otp,lrascao/otp,aboroska/otp,mikpe/otp,vinoski/otp,mikpe/otp,vladdu/otp,bjorng/otp,getong/otp,bjorng/otp,g-andrade/otp,vladdu/otp,erlang/otp,vinoski/otp,dgud/otp,rlipscombe/otp,rlipscombe/otp,emacsmirror/erlang,dgud/otp,lrascao/otp,g-andrade/otp,dgud/otp,RoadRunnr/otp,vladdu/otp,bjorng/otp,bjorng/otp,dgud/otp,bjorng/otp,potatosalad/otp,uabboli/otp,kvakvs/otp,rlipscombe/otp,emacsmirror/erlang,dumbbell/otp,uabboli/otp,vladdu/otp,erlang/otp,vladdu/otp,mikpe/otp,potatosalad/otp,uabboli/otp,mikpe/otp,ferd/otp,RoadRunnr/otp,lrascao/otp,aboroska/otp,getong/otp,jj1bdx/otp,vladdu/otp,potatosalad/otp,aboroska/otp,potatosalad/otp,rlipscombe/otp,isvilen/otp,mikpe/otp,ferd/otp,RoadRunnr/otp,vinoski/otp,aboroska/otp