Added TLS to TitaniumCore