src/uid_wrapper.c: make use of socket_wrapper_syscall_{valid,va}()