Hmmm. . . . I think client.getProxy() can return null too. Sigh.