Correct misuse of helpers#extend

Was causing issue with concurrent, different requests where `Content-Type` would be set incorrectly (as `defaultHeaders` was being modified, instead of a per-request object).