improved options for xhr module
Merge pull request #6 from smonn/master

improved options for xhr module