fix debug file path not exist cause crash
fix send intercepted data with invalid socket(connect.h)