Fixes #7 encodes unicode strings as bytes for response body

This uses six for compatibility with python2 and python3 and adds a unit test