replace /// with / in reverse proxy URLs