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

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