Update proxy.jsp to handle null referer.