Support TLS for direct websocket connections
Problem to solve
As noted in gitlab-org/omnibus-gitlab!5852 (comment 835728762), the websocket option for external KAS connections currently does not support TLS. But it should.
Proposal
If the certificates are provided when websockets are enabled, configure TLS on the websocket server.