Remove dependency on PHP 5.4

I just removed the third parameter of http_build_query and did a string replace.