inline boost::system::error_code make_error_code(ssl_errors e) { return boost::system::error_code( static_cast<int>(e), get_ssl_category()); }
inline asio::error_code make_error_code(ssl_errors e) { return asio::error_code( static_cast<int>(e), get_ssl_category()); }