This class fixes the problem where PayPal IPN
notifications fail. It uses cURL so PHP can follow the 302
redirection served, and by default uses SSL for posting to
PayPal, but is configurable to do normal HTTP as well. It
also gives more detailed logging info in the log file/log
email.