Added support for X-Requested-With header
Merge pull request #36 from ilyashuma/master

Added support for X-Requested-With header