Addressing bugs related to multiple socket.io instances.