Quote from def:
You'll have to check with the person who wrote that code but in the latest release IB offers an SSL option which if you can check off (added encryption at the expense of a few milliseconds in speed). that might be the cause of their code failing.