Add Unix and socket related wrapper functions