proxy - fix for incorrect referer value - closes #533