+#ifdef SSL_SUPPORT
+#define CONN_SSL_CONNECT 16 /* wait for ssl connect to finish */
+#define CONN_SSL 32 /* this connection is SSL encrypted */
+#define CONN_SSL_WANT_WRITE 64 /* SSL/TLS library needs to write protocol data */
+#define CONN_SSL_WANT_READ 128 /* SSL/TLS library needs to read protocol data */
+#define CONN_SSL_FLAGS_ALL (CONN_SSL_CONNECT|CONN_SSL|CONN_SSL_WANT_WRITE|CONN_SSL_WANT_READ)
+#endif
+typedef long CONN_ID;