SSH Proxy SSL "Routing"

Hi, I’ve got SSH Proxy up and running according to Route SSH Connections with HAProxy - HAProxy Technologies

But i’ve got a few issues.

First there is a typing delay when using the SSL at front end which is nessesary for sni and use of more than 1 back end.
Doing proxy directly by tcp without ssl works fine but ofc limits it to simple forwarding to 1 host…

2nd session exits after 30s even though it’s set to http-tunnel or http-keep-alive.

Ideas to rid of esspecially the first issue ?

-o TCPKeepAlive=yes -o ServerAliveInterval=15 seems to solve the 2nd issue.

First issue is not present using linux terminal but with powershell.