Fix: cib: Fix remote cib based on TLS

Prevent connection->tcp_socket and connection->tls_session from 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().