fix PHP-5.4 compatibility§
 no other SSL libs need this sort of callbacks