proxy - fixed wrong referer value - closes #826