Farren, John William Perry, Consul at Manila