changed mysocket io.connect(url) to io.connect()