Fix _removeProxy for WMS URLs