prevent setRequestHeaders from being called twice
Merge pull request #424 from fearphage/fix-402/fake-xhr-compliance

Prevent setRequestHeaders from being called twice (like setRequestBody)