+ size_t totalLen; /**< total coap data length required to receive */
+ size_t bufLen; /**< Buffer length. Buffer will be grown dynamically with respect to data received. */
+ unsigned char *tlsdata; /**< tls data(rfc5246: TLSCiphertext max (2^14+2048+5)) */
+ size_t tlsLen; /**< received tls data length */
+ CAProtocol_t protocol; /**< application-level protocol */
+ CATCPConnectionState_t state; /**< current tcp session state */
+ bool isClient; /**< Host Mode of Operation. */