Add X-Requested-With to headers
Merge pull request #3652 from mkurz/X-Requested-With-Header

Add X-Requested-With to headers