Socket.io now communicates successfully with Server. Socket.io is controlled through a singleton class.