Add basic support for unknown X.509 extensions

Fixes: https://bugzilla.osafoundation.org/show_bug.cgi?id=12946