Method added to parse response headers