switch to checking for and using , fixes #106
adds missing global declaration
Merge pull request #114 from clef/http-raw-post-data

Switch to checking for and using $HTTP_RAW_POST_DATA