set correct content type on xml requests

fixes #1514 and #1516
How about... `proxyRequestXML()`? Just a bit shorter.