pub(crate) fn sock_pair_internal( ctx: &mut FunctionEnvMut<'_, WasiEnv>, with_fd1: Option<Fd>, with_fd2: Option<Fd>, ) -> Result<(Fd, Fd), Errno>