Added TLS Support

Added the function ExecuteTLS() which executes all TLS callbacks.