conform urlencode to the RFC 3986

php urlencode() function differs from the RFC 3986 and replace spaces by "+" instead of "%20" witch cause invalid signature check when the PBX_CMD contain some spaces.