r3315: converted the libcli/raw/ code to use the generic socket library. This