filter out if #filter method returns nil record

Change the filter plugin API as:

1. `filter` method raises NotImplementedError as default
2. `filter_stream` now behaves not to emit message if `filter` method returns nil