encode upstream query parameters as last url part

instead of forwarding url parameters from one server to another