Add X-Requested-With header

Sets the `X-Requested-With: XMLHttpRequest` header to allow server-side applications (e.g. express) to identify the request as XHR.