John Clapham, Lawyer