Refactoring - GET request moved outside of the HttpExample class
Added example for POST request
Refactored reading of body
Added support for chunked transfer encoding