ACCUMULO-2067 Use urlencoding method already present in BasicServlet (thanks, [~ecn]).