Correct socket io client usage