Add an initialization of the len parameter for the getsockname call. Now rpc.rwalld can run under inetd.