(open-tls-stream): Remove unneeded buffer contents when opening the connection.