User designed wrappers can be registered via stream_wrapper_register(),
using the class definition shown on that manual page.
class php_user_filter is predefined and is an abstract
baseclass for use with user defined filters. See the manual page for
stream_filter_register() for details on implementing
user defined filters.