r18593: try to get the same socket_wrapper file building in samba3 and samba4