client.http.base: Handle 'str' input on Python3.
client.http.base: Handle 'str' input on Python3.

If we're given an 'str', we might safely assume that the body is in fact
decoded already.

vrtsystems/pyhaystack,ChristianTremblay/pyhaystack,ChristianTremblay/pyhaystack