fix http client url encoding issue