modified __clnt brico to use same logic as __srvr
replace addConnection with addSoc
replace addConnection with addSoc