Does Portainer support TLS for socket connections?

No, at this stage we do not support TLS for socket connections.