Add read-timeout, write-timeout, tcp-user-timeout parameters
requested to merge 2735-port-fix-for-mariadb-connector-time-out-issue-to-2-2-x-already-prepared-need-project into v2_2
Closes #2735 (closed).
#2688 (closed), #2741 (closed), #2727 (closed) needed porting to introduce the parameters, but #2724 (closed) was also required to pass unit tests on a PostgreSQL 15, and is a good porting candidate anyway.