Moving socketio client to libs