Export SIP transport TLS state and TLS certificate info to PJSUA2

The ticket will provide the TLS transport information via the existing Endpoint::onTransportState() callback. This way, application can check the SSL certificate information in PJSUA2 and decide to keep the transport or close it by calling Endpoint::transportShutdown().