code: private InputStream getCopyOfResponseContent(InputStream is) throws FMSException {
  		ByteArrayOutputStream baos = new ByteArrayOutputStream();
  		InputStream copyIs = null; 
  		try {
  			byte[] bbuf = new byte[LENGTH_256];
  			while (true) {
  				int r = is.read(bbuf);
  				if (r < 0) {
  					break;
  				}
  				baos.write(bbuf, 0, r);
  			}
  			copyIs = new ByteArrayInputStream(baos.toByteArray());			
  			return copyIs;
  		} catch (IOException ioe) {
  			LOG.error("IOException while decompress the data using GZIP compression.", ioe);
  			throw new CompressionException(ioe);
  		} finally {
  			if (baos != null) {
  				try {
  					baos.close();
  				} catch (IOException e) {
  					LOG.error("Unable to close ByteArrayOutputStream.");
  				}
  			}
  		}
  	}
docs: Method to create the copy of the input stream of response body. This is required while decompress the original content
  
  @param is the input stream of the response body
  @return InputStream the copy of response body
  @throws FMSException the FMSException