Fix EZP-23632: Exception when running eZ Publish behind built in reverse proxy