Update redirect.jsp - encodes and passes user-agent information