Updates backend module to support gzipped data and better support binary (non-text) type bodies