make filter sockets for data non-blocking.
fix potential hang reported by Jason Barbier.