Fix several errors

Fix unicode error in proxied requests