Foley, Robert, active 1685-1700, Secretary to Lord Keeper Guildford