[CF-14] improve servlet filter perf

One alternative is to have the user pass in a Reader object as the parameter.  That might keep us from having to read everything into a String, just to put it into a Reader again.  Minor issue but might make things a little cleaner on the client end of this code.