TYRUS-382: Exceptions thrown from Endpoint#onOpen(...) and Endpoint#onClose(...) methods are wrapped in InvocationTargetException when passed to Endpoint#onError(...).