how to connect socket.io to the website