Separated DUAL-CHANNEL-GRAY-STREAM implementation from that of ACTIVE-SOCKET.