fixed server side socketio
added client-side socket io