Add generic function for handling Transfer-Encoding and Content-Encoding...

The content of a response may be encoded using zero or more Transfer-Encodings and Content-Encodings. This patch provides a mechanism for decoding the response data according to those headers before returning to the user. 

This addresses Issue #45