Use SSL_get_error() to better understand the error we got.

Signed-off-by: Thiago Farina <tfarina@chromium.org>