Correctly read headers in the Angular http adapter