adding request.getStream() method
improving file upload sample with an ajax upload