KAA-178: Create a unified plugin system for log appenders

InputStream will be closed in KeyUtil.getPublic(input) method.