split redis stream parsing into request and reply parsing