ensure headers are handled correctly in ResctClien requests