fix(socket) ret -> io