[Build] Add replace string for socket connection url