Add code to extract HTTP response headers as strings and store to later use