Add "sock_funcs.c" to distribution