Cumberbatch, Robert William, Consul at Smyrna