Brooke, William Augustus, Agent at Benares