#16948: Fix quopri encoding of non-latin1 character sets.
Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
is automatically closed.