add io socket client-side