initial commit based on github.com/jinoos/flume-ng-extends work