example code that connects to threatconnect