Use ERR_get_error to get last SSL error in openssl.d

Getting last error should return an error code which  is easier to understand
when translated into a error string