Grid stream protocol implementation.