initial work on updating for use with Socket.IO 1.0+