Fixed request headers not being sent properly when more than one header

Fixes the ingestion of cookies and other multi-value headers