Parke, John, active 1817-1818, Consul-General at Rome