Fixed the re-using of the headers object in make_request.
Merge branch 'fix-reusing-headers' into develop