1.0.48.7: add FD-STREAM-FD-TYPE, use it to decide when to poll the fd