Adding helper function to HTTPResponse for getting charset of response body

The body of HTTPResponse is `bytes` in Python 3, as a result of which I had to decode it before I could use it with other functions that expect a string object.  However I couldn't find a way to easily get the charset of the response body.  I had to manually inspect the header.  Therefore, I figured that adding a helper function might be helpful.