start connection to socket.io