use the code from jossl-0.9.5 for wrapJRubyNormalizedInputStream

the new JRubyFile.createResource.inputStream is new to jruby-1.7.17,
i.e. use the old code for older jrubies

Sponsored by Lookout Inc.