Tweak to give us a proper ssl failure message