fixing header parsing error on redirection
fixing http tests for default redirects=1