This ensures that & is being interpreted correctly by non-php endpoints

With php5.3 the separator is &amp; on some servers it seems. Normally if posting to another php5.3 machine this will not be a problem.

But if you post to a tomcat java server or something else the &amp; might not be handled properly.

To overcome this specify:
http_build_query($array, '', '&');
and NOT
http_build_query($array); //gives &amp; to some servers

Since i'm not talking to a php server i'm not sure if this will bust that but i think it should be ok. 

Please let me know what you think.