updated socketio test
moved client code to public directory