Maybe we need #4849 first to avoid FIONREAD?