Fix: cib: Fix remote cib based on TLS
Prevent connection->tcp_socket and connection->tls_session from both
having values at a same moment. Otherwise, connection->tcp_socket will
always be used in crm_remote_sendv(), crm_remote_ready() and
crm_remote_recv_once().
(cherry picked from commit fe61ad058699c4ac2ebd1a126c64495d3324180e)