Socket.IO Option Heartbeats is not valid. Please refer to the readme

My node js application is no longer working since updating to the latest node.js and Socket.IO. I get the error message

Heartbeats is not valid. Please refer to the readme.

But there is NO reference to heartbeats in the readme file.

I am also using the latest express