fix issue where adding third header doesn't work
fix setting multiple cookies #38