Correctly pass headers to embedded objects
Merge pull request #19 from fancyremarker/embedded-headers

Correctly pass headers to embedded objects