proper error message when proxy from invalid referer