http: Use http build query

Use http::build_query instead of inline urlencode