Read encoding

See #13 .

This PR fixes the encoding of utf-8 text in requests and responses. 

However, it breaks compatibility with earlier versions. The full response text is no longer in the buffer when the result-functions runs. You can however use the url-vars or the input arguments.