Using a single proxy for json/xml requests