Refactoring BIO: add error macros & text, and make update Reviewed-by: Kurt Roeckx <kurt@openssl.org>