import and setup socket.io