Node.js socket.io listen on same web port

Node.js code snippet to get socket.io (and socket.io client) listening on same web port as Express.js 3x. At time of writing (4 Dec 2013) Node.js socket.io version 1.0 has not yet been released. How to set it up To use with Socket.io version 0.9.16, express version 3.4.6 var io = require(’socket.io’)     , app …