fix socket passing bug introduced in last merge/rebase