Fix interactive exec over TLS

The code no longer assumes a net.TCPConn underlying the HTTP connection
in order to close attached streams.

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
Merge pull request #9497 from icecrime/86580-tls_interactive_exec

Fix interactive exec over TLS