Fix http build query

`http_build_query` relies on arg_separator.output by default.
If this is changed in the current execution context, the method
may produce unexpected behavior.

Additionally I changed the second argument for the 2 other calls as the second param is string.