Revert "use ws not socket.io"

This reverts commit 46c3b02ab48831f7f46272c81c52469ff95ef27f.