Nota: stream_register_filter() must be called first in order to register the desired user filter to filtername .