nfsd4: move rpc_client setup to a separate function