Accept UTF-8 encoded strings

Accept UTF-8 encoded strings to send though the proxy. For example, the euro sign (€) didn't work before, now it works without any issues.