Fix error in header parsing

When a header contains "Location: http://www.google.fr/", the location is not parsed in the header list
Merge pull request #146 from ogarbe/master

Fix error in header parsing