Move calls to ldap_pvt_tls_accept to connection_read instead of
connection_init so that we get into the select() logic. Make use of new flags in the connection. BTW, and before I forget, it sort of works. I have connected with a Netscape client using a secure connection and did a failed search (my test database is empty), but the trace looked correct. Make sure you have your CA certificate in your Netscape preinstalled. Otherwise, the connection fails with error 0xFFFFFFFF that is rather uninformative.