Bugfix #580 #596: Secure access to geoserver using proxy