added put,delete method, added X-Request-With header
changed headers field type from Set to Map
Merge pull request #40 from hussachai/ajax

added put,delete method, added X-Request-With header