Fixed a bug in the exception handling

Fixed bug where the caught exception was being passed as a protected VM
instead of ignored. Added logging
Added ability to report current version

This will be useful for identifying which SRM version we are working
against and disabling capabilities that don't function against earlier
versions