#10, #22 the gzipped format body has been correctly unzip in ruby client.  The debug info has been modified for adding headers from server response.  The code now check for the body size before parse the json format