fixed reuse socket on local socketio server
some fixes, error routing of external git repos goes to core