Fixing proxy to work with geoserver.