Proxy to handle cross-domain ajax requests.