Copy http headers correctly
Merge pull request #166 from jembi/http-header-fix

Copy http headers correctly