public delegate FilterResult StreamTransportFilterFunc (Stream stream, StreamTransport trans)
This function will be called by the transport_filter.
An implementation should return a value of FilterResult .
When this function returns REMOVE,
trans will be removed from
A return value of KEEP will leave
a Stream object
a StreamTransport in
user data that has been given to transport_filter