Update for invalid input stream from IPN post #74

* Performs check to ensure the file_get_contents() function is not disabled and attempts to enable.
* Prior to PHP 5.6, php://input couldn't be reliably re-read.  This patch reads it once and works with that data via the raw_post_data variable.
* https://github.com/bitpay/magento-plugin/issues/74
I agree, that's what I was thinking the reason was. I wanted to say that if safe mode is enabled in might not work, and some web hosts may have this function disabled. We aren't including http or ftp files, so I'm just curious why that's there. There might be another way to solve the problem.