Revert "Changed the urldecode back to rawurldecode and used the str replace from toPhpQueryString to fix spaces as a plus sign"

This reverts commit 8fb537e27f9006b605a35448a175f60fa9dab0cb.