Update socket connection url to localhost