(backport) =act 3684 prevent usage of WriteCommands other than Tcp.Write with SslTlsSupport

(cherry picked from commit 5e6d591d1603fb99ea2653ac49c8c26ed391ba25)

Backport of #1804