Initial work to get server to work with Socket.io v1.0