Added GZIP capability, refactored request class to eliminate JsonRequestToRequest