Fixing curl generation when nil header is passed
Merge pull request #119 from NZN/fix_curl_generation

Fixing curl generation when nil header is passed