Changed stream_select() arguments as those follows Strict Standards.