Testing Socket.IO with session <p>We have some functionality based on the Socket.IO. Socket.IO uses express-session and cookieParser. How can I test server side of Socket.IO in Node.js, not browser environment? Is there any way to pass cookies to io.connect() function?</p>