Cocks, Phillip Alphonso Somers, Consul-General at Naples