get socket.io configured and initial events registered