[RESTEASY-779] DataSourceProvider does not properly read InputStream