Added some abstraction funcs to socket FFI.
Added some abstraction funcs to socket FFI.

luastoned/turbo,luastoned/turbo,zcsteele/turbo,mniestroj/turbo,zcsteele/turbo,kernelsauce/turbo,YuanPeir-Chen/turbo-support-mipsel,ddysher/turbo,YuanPeir-Chen/turbo-support-mipsel,ddysher/turbo