Add option to converter so client can indicate no more input is available
Add some more tests for BZ54602
TODO: Review the use of the now deprecated code

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1451434 13f79535-47bb-0310-9956-ffa450edef68