connect to io server