fixing header parsing error on redirection
fixing http tests for default redirects=1
Merge branch 'v1.13.x' into sam_2563