A simple http response handler to proxy http requests via AJAX with CORS