update socket.io to 1.x

This resolves #25 and would also fix the problem that #74 works around.