socket: Properly terminate connection on zero read or write.
socket: Properly terminate connection on zero read or write.

twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc