non-deprecated urlopen plus additional debugging output for PayPal IPN