Defined socket protocol between application and TLS pool, include/tlspool.h