log failed certicate verifications

before this change, eventual certicate verification errors got globbed
by only rescuing preconfigured http_errors without the appropriate ssl
exception.