connection: s/transaction.header.add_header/transaction.add_header/