How to retain connection header ( keep-alive )

connection header has gone if server send response with connection: keep-alive.

I already read a doc ( Repositories - haproxy-2.5.git/blob - doc/internals/connection-header.txt )

how to retain connection header and ignore the connection-header rules.

Some client is validating response connection header. I know it is weird.