sanitise/post for socketpair