O'Keefe, Thomas, Agent of William, Viscount Beresford