Fix error in header parsing

When a header contains "Location: http://www.google.fr/", the location is not parsed in the header list