fix non ascii char in request uri and headers